--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit 5773a9a5cc3aadf62d34a2cfd2759176326659c6
Parents : 8845af1
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-03-10T00:19:01-05:00
Update CI workflows to specify branches for pull requests and add permissions for content access
Changes
4 files changed, 17 insertions(+), 3 deletions(-)
Diff
diff --git a/.gitea/workflows/build-test.yml b/.gitea/workflows/build-test.yml
index 39227574..90304bdc 100644
--- a/.gitea/workflows/build-test.yml
+++ b/.gitea/workflows/build-test.yml
@@ -6,7 +6,11 @@ on:
- "*"
pull_request:
branches:
- - "*"
+ - master
+ - dev
+
+permissions:
+ contents: read
jobs:
build-test:
diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml
index 89d3afe1..c00e67e6 100644
--- a/.gitea/workflows/ci.yml
+++ b/.gitea/workflows/ci.yml
@@ -5,8 +5,14 @@ on:
branches:
- "*"
pull_request:
+ branches:
+ - master
+ - dev
workflow_dispatch:
+permissions:
+ contents: read
+
jobs:
lint:
runs-on: ubuntu-latest
diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml
index 161c6aa0..473684f4 100644
--- a/.gitea/workflows/docker.yml
+++ b/.gitea/workflows/docker.yml
@@ -8,7 +8,6 @@ on:
- dev
tags:
- "*"
- pull_request:
env:
REGISTRY: git.quad4.io
@@ -17,7 +16,6 @@ env:
jobs:
build:
- if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
permissions:
contents: read
diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml
index a31f1b2d..699ea662 100644
--- a/.gitea/workflows/tests.yml
+++ b/.gitea/workflows/tests.yml
@@ -5,8 +5,14 @@ on:
branches:
- "*"
pull_request:
+ branches:
+ - master
+ - dev
workflow_dispatch:
+permissions:
+ contents: read
+
jobs:
test:
runs-on: ubuntu-latest
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────